/*
 * @Author: wangyu
 * @Date: 2025-01-16 17:38:47
 * @LastEditTime: 2025-02-14 16:58:32
 * @LastEditors: wangyu
 * @Description:
 * @FilePath: \website\nuxt.config.ts
 */
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: "2024-11-01",
  app: {
    head: {
      // script: [{ src: '/flexible.js' }]
    },
  },
  devtools: { enabled: true },
  css: ["@/assets/css/main.scss"],
  postcss: {
    plugins: {
      // 'postcss-pxtorem': {
      //   rootValue: 96, // 结果是px，想要换算的根字体大小(16px = 1rem)
      //   propList: ['*'], // 可以针对 px 进行转化的属性
      //   selectorBlackList: [] // 需要忽略转化的选择器
      // },
      tailwindcss: {},
      autoprefixer: {},
    },
  },
  modules: [
    // Simple usage
    "@nuxtjs/stylelint-module",
  ],
});
